package com.cats.model;

public class ShipmentListItemModel {
	private int status = 0; // default: 0-Initiated, 1-In transit, 2-Delivered.
	private String trackingNumber;
	private String creationDate;
	private String destinationAddress;

	public ShipmentListItemModel() {
		
	}
	
	public ShipmentListItemModel(int status, String number, String date, String address) {
		this.setStatus(status);
		this.setTrackingNumber(number);
		this.setCreationDate(date);
		this.setDestinationAddress(address);
	}


	/**
	 * @return the status
	 */
	public int getStatus() {
		return status;
	}

	/**
	 * @param status the status to set
	 */
	public void setStatus(int status) {
		this.status = status;
	}

	/**
	 * @return the trackingNumber
	 */
	public String getTrackingNumber() {
		return trackingNumber;
	}

	/**
	 * @param trackingNumber the trackingNumber to set
	 */
	public void setTrackingNumber(String trackingNumber) {
		this.trackingNumber = trackingNumber;
	}

	/**
	 * @return the creationDate
	 */
	public String getCreationDate() {
		return creationDate;
	}

	/**
	 * @param creationDate the creationDate to set
	 */
	public void setCreationDate(String creationDate) {
		this.creationDate = creationDate;
	}

	/**
	 * @return the destinationAddress
	 */
	public String getDestinationAddress() {
		return destinationAddress;
	}

	/**
	 * @param destinationAddress the destinationAddress to set
	 */
	public void setDestinationAddress(String destinationAddress) {
		this.destinationAddress = destinationAddress;
	}

}
